import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';
import { t } from '/@/hooks/web/useI18n';

const scheduleManager: AppRouteModule = {
  path: '/scheduleManager',
  name: 'scheduleManager',
  component: LAYOUT,
  redirect: '/scheduleManager/calendarSettings',
  meta: {
    orderNo: 7,
    icon: 'ion:calendar-outline',
    title: t('routes.demo.scheduleManager.scheduleManager'),
  },
  children: [
    {
      path: 'calendarSettings',
      name: 'calendarSettings',
      meta: {
        title: t('routes.demo.scheduleManager.calendarSettings'),
        ignoreKeepAlive: false,
      },
      component: () => import('/@/views/demo/scheduleManager/index.vue'),
    },
  ],
};

export default scheduleManager;
